import 'package:flutter/material.dart';

class RoundCheckBox extends StatelessWidget {
  final bool status;
  final double size;
  final GestureTapCallback? onTap;
  const RoundCheckBox(
      {Key? key, required this.status, this.size = 18.0, this.onTap})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return InkWell(
      child: status
          ? Icon(
              Icons.check_circle_outline,
              size: size,
              color: Theme.of(context).primaryColor,
            )
          : Icon(
              Icons.panorama_fish_eye,
              size: size,
              color: Colors.grey,
            ),
      onTap: onTap,
    );
  }
}
